#include "loger_inner.h"





int loger_strcpy(uint32_t cur_len, char *dst, const char *src)
{
    const char *src_old = src;

    while (*src != 0)
    {
        if (cur_len++ < CONFIG_LOGER_LINE_BUFF_SIZE)
        {
            *dst++ = *src++;
        }
        else
        {
            break;
        }
    }

    return src - src_old;
}




